package com.rockbb.common.utilities.internet;

public class Cookies {
	private String session_id;
	private String user_id;
	private String lang_id;
	private String style_id;
	
	public Cookies() {
		session_id = user_id = lang_id = style_id = "";
	}

	public String getSession_id() {
		return session_id;
	}
	public void setSession_id(String session_id) {
		this.session_id = session_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getLang_id() {
		return lang_id;
	}
	public void setLang_id(String lang_id) {
		this.lang_id = lang_id;
	}
	public String getStyle_id() {
		return style_id;
	}
	public void setStyle_id(String style_id) {
		this.style_id = style_id;
	}
	
	/*
	 *  Return true if no cookies were detected or no valid cookie values
	 */
	public boolean is_empty() {
		if (session_id == null || session_id.length() == 0) {return true;}
		else {return false;}
	}
}
